-- GENERATED SPELL FOR [Deviate Adder] --


function spell0_5048(pUnit, Event) --@Poison,n/a--
pUnit:FullCastSpellOnTarget(744,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_5048', 30000, 1)
end

function Sorts_5048(pUnit, Event)
local choix_sorts_5048 = math.random(0, 0)
if choix_sorts_5048 == 0 then
pUnit:RegisterEvent('spell0_5048', 1, 1)
end
end

function mob5048_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_5048', math.random(1500, 3000), 1)
end

function mob5048_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5048_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5048_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(5048, 1, 'mob5048_Action')
RegisterUnitEvent(5048, 2, 'mob5048_Leave')
RegisterUnitEvent(5048, 3, 'mob5048_Kill')
RegisterUnitEvent(5048, 4, 'mob5048_Die')
